package com.hzdp.web.captcha;

import java.util.Collection;
import java.util.Locale;

import com.octo.captcha.Captcha;
import com.octo.captcha.service.CaptchaServiceException;
import com.octo.captcha.service.captchastore.CaptchaStore;

public class JCaptchaStore implements CaptchaStore {

	@Override
	public void empty() {
	}

	@Override
	public Captcha getCaptcha(String arg0) throws CaptchaServiceException {
		return null;
	}

	@SuppressWarnings("rawtypes")
	@Override
	public Collection getKeys() {
		return null;
	}

	@Override
	public Locale getLocale(String arg0) throws CaptchaServiceException {
		return null;
	}

	@Override
	public int getSize() {
		return 0;
	}

	/**
	 * 不需要store
	 */
	@Override
	public boolean hasCaptcha(String arg0) {
		return false;
	}

	@Override
	public boolean removeCaptcha(String arg0) {
		return false;
	}

	@Override
	public void storeCaptcha(String arg0, Captcha arg1) throws CaptchaServiceException {
	}

	@Override
	public void storeCaptcha(String arg0, Captcha arg1, Locale arg2) throws CaptchaServiceException {
	}

}
